home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ShareWare OnLine 2
/
ShareWare OnLine Volume 2 (CMS Software)(1993).iso
/
games2
/
rotise12.zip
/
ROTISE.DOC
< prev
next >
Wrap
Text File
|
1993-03-28
|
11KB
|
379 lines
ROTISE
================================================================
ROTISE is a program will help you run your rotisserie league. It is to be
used by the league secretary, and requires the weekly downloading of a
statistics file from some source (some are mentioned below). After the
secretary enters all the weeks transactions, ROTISE is run against this
transaction file' and produces a report on all the teams and shows the
standings.
ROTISE is available with complete source code and is free to use. The
authors of ROTISE, Jonathan Arnold and Mark Mallett, can be reached
electronically in a variety of ways. Both can be reached via the Internet.
Jon's email address is jdarnold@world.std.com, while Mark can be reached at
mem@mv.mv.com. Also, Jon frequents the RIME network, and can be reached by
routing a message to BASEBALL, sent to 'Jonathan Arnold'. Also, they both
inhabit Jonathan's BBS, called The Complete Sports BBS. The main number there
is (617)335-2238. We encourage catcalls, comments and criticisms, as we are
always looking to improve ROTISE.
Statistics files can be found on a number of BBS', including the above
mentioned Complete Sports BBS. The USA Today SportsCenter BBS is also a good
source for stat files.
Files
Inforoto.91 - Sample command file
Makefile.Bcc - makefile for Borland/Turbo C
* .H - Include files
* .C - Source files
Rotise .Doc - This file
Rotise .Exe - IBM PC executable
Makefile.Msc - makefile for Microsoft C
Rotise .Lnk - MSC linker file
ROTISE command line options
Here is how you run ROTISE:
rotise [options] command-file [command-file...]
Possible options include:
-i : Use IBM graphics characters when printing reports
-ffname : Generate a freelist, putting it in file 'fname'
-V : Print ROTISE version string
-sfname : Generate a worksheet file in 'fname'
-v[0-4] : verbose option. Higher numer means more talking
-wn : init database to 'n' weeks. Higher number uses more memory. The
default is 30.
Then pass it the command file (or files) to use. The complete description
for the command file is below. ROTISE prints the report to the screen. Use
redirection to put it either in a file or dumped directly to the printer, like
thus: rotise command-file >report.txt.
ROTISE Command File
Terms and abbreviations used in this section:
RT A short, unique abbreviation for a Rotisserie team.
When you define the league, you assign these
abbreviations for easy reference to each team. Each
abbreviation is unique and represents a specific team.
PK Unique name of a player, as found in the data file.
(We use the data from USA Today's electronic
service.) This is usually a {last name, first
initial} pair. Sometimes the first initial is not
representative, but assigned to make the entire name
unique. Sometimes the first initial is missing
altogether, in which case you should probably edit the
data file and supply one yourself. (If you don't
supply one, the routine that parses the input data
will default a "." for the first initial -- and you must
reference the player with this first initial.
The transaction-oriented command file is a sequence of command lines. Each
line starts with a command token specifying some sort of transaction or
definition or general action to perform. This command token may be followed
by arguments as required by the individual command.
Following is a description of the various command tokens. Those that are
marked with an "*" are currently not implemented. Those marked with a "#" are
things being considered to make the program more flexible but are currently
hardcoded. For more information, please see the included command file,
'inforoto.91'. This is the actual file used by our league in a recent season.
Secretarial transactions:
#
;
Either indicate comment line
=[=..] date filename [pfilename]
date - in the form monthnum/daynum (i.e., 7/14 for July 14)
filename - Name of stat data file
pfilename - optional; name of positional data file
New interval is started. Can have as many '='s as you want.
oposf filename
filename - name of file with data in it
This is the data file with the previous year's positional data
slot Slot postions
Slot - 1-3 letter, unique, slot name
postions - list of positions that qualify for this slot.
Separate them with spaces or commas
As many of these as are players on a roster. Give each slot a
unique, 1-3 name, and the list of positions which are qualified for
it. Official Rotisserie slots are:
C1, C2, 1B, 2B, SS, 3B, 13, 2S, DH or UT, OF1, OF1, OF2, OF3, OF4, OF5,
and P1 - P9
bstats [stat-list] #
stat-list - list of stats to be used for ranking
batters. Seperate each with a space.
Tell which stats will be used for batters. The list can be any or all
of:
1B, 2B, 3B, HR, RBI, AVG, SB, CS, ERR, R, SO
The defaults are: HR, RBI, AVG, and SB
pstats [stat-list] #
stat-list - list of stats to be used for ranking
pitchers. Seperate each with a space.
Tell which stats will be used for pitchers. The list can be any or all
of:
W, L, PCT, CG, SHO, S, SO, BB, ERA, ER, IP, H, HR, RATIO (i.e.,
(H+BB)/IP)
The defaults are: W, S, ERA, and Ratio
Cost specification commands:
$ Category Amount #
Category - one of the following keywords (or unique
abbreviation):
release - cost of releasing a player (Default: 0)
claim - claim player from free agent list (Default: 25)
reserve - place player on reserve list (Def: 10)
expand - claim player for Sept. roster expansion (Def: 50)
freesal - claimed free agent salary (Def: 10)
expsal - Expansion player salary (Def: 25)
waiverclaim - claiming a player off waiver wire (Def: 10)
activate - activate a player from reserve (Def: 10)
farm - cost of player starting season in minors (Def: 10)
Amount - cost in salary units
Describe how much each transactions costs, in salary units.
salunit Pennies #
Pennies - how many pennies in each salary unit
For formatting purposes, how many pennies make up each salary unit.
Real Player stuff
hide PK
PK - Player's keyword
Hide a player on the free agent list. Used to remove players who have
been traded to the other league or retired, or for whatever reason you
might want to remove the name from the available free agent list.
status PK [StatWord [date]]
PK - Player's keyword
StatWord - Any 1-4 letter keyword denoting special status
date - effective date, in the formate month/day (i.e., 7/14)
Assign a status to any player. This can be used to indicate going on
the disabled list, sent down to the minors, etc. If used without a
statword, then any previous status is cleared. If this player is on
a RT's reserve list or in the minors, player is put on possible
waiver list, to begin in two weeks. The statword will be printed on
the stat sheet, along with the date, if any given. If no date, then
the date of the interval is used. Suggested words:
15DL - 15 day disabled list
30DL - 30 day disabled list
60DL - 60 day disabled list
MIN - Sent to minors
REL - unconditional release
OL - sent to "other" league
SUSP - suspended
RETR - retired
Preseason Rotisserie Team activities:
league fullname
Fullname - Name and description of league
Give the league a name and description. Can be up to 80 characters
long.
team RT fullname
RT - Rotisserie Team keyword (must be unique and one word)
fullname - rest of the line is the full name of the team
Name the teams in the league. There can be up to 15 teams in a league. The
first 25 characters are used in reports.
owner RT OwnerName
RT - Rotisserie Team keyword (must be unique and one word)
OwnerName - rest of the line is the full name of the owner(s)
Assign a name to the owners of the team. Should be one of these commands per
team.
add RT PK Slot Salary Contract Full-name
RT - Rotisserie Team Keyword
PK - Player's keyword
Slot - Rotisserie Team slot to go into
Salary - # of salary units
Contract - Contract keyword. 1 letter keyword of:
A - first year
B - Second year
O - Option year
1-9 - # years remaining before option year
Full-name - Rest of line is the full name of the player
Add player to the roster before the season has started.
minors RT PK [Fullname] *
RT - Rotisserie Team keyword
PK - player keyword
Fullname - optional complete name
Add player to team's minor league list
Rotisserie Team activities:
move RT PK Slot
RT - Rotisserie Team keyword
PK - Player's Keyword
Slot - new slot to fill
Move player from current slot to new slot on roster
release RT PK [W]
RT - Rotisserie Team keyword
PK - Player keyword
W - anything; indicates player is waived
Release player from roster (ie., add to free agent pool). If W is
non-blank, then the player is added to the waiver list for the next
two weeks.
claim RT PK Slot [Full-name]
RT - Rotisserie Team keyword
PK - Player keyword
Slot - slot to fill in RT
Full-name - optional full name of player.
Claim player from free agent pool. If player is on active waiver
wire, then do a waiver transaction, otherwise just claim from free
agents.
reserve RT PK
RT - Rotisserie Team keyword
PK - Player keyword
Add player to teams reserve list
activate RT PK [Slot]
RT - Rotisserie Team keyword
PK - Player keyword
Slot - slot to move player into
Activate a player from the team's reserve or minor league list. If
not slot is passed, then activate player into the slot he is tied to
(assumes player had been reserved earlier).
trade RT PK newRT cost *
RT - Rotisserie Team keyword
PK - player keyword
newRT - new team's keyword
cost - cost to RT, in salary units
Trade a player from RT to newRT. The cost is listed here as often one
team will pick up the entire cost of the transaction, rather than the
normal 5 salary units per RT.
expand RT PK p|h
RT - Rotisserie Team keyword
PK - player keyword
p|h - p= Pitcher, h= hitter (one or the other, please)
September Roster expansion player
create PK position
PK - player keyword
postition - Eligible position
Create a player who is not in the database yet. Use this command to add a
player involved in a transaction before he is actually read into the database.